package com.qianfeng.service.Impl;

import com.qianfeng.entity.WorkType;
import com.qianfeng.mapper.WorkTypeMapper;
import com.qianfeng.service.WorkTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class WorkTypeServiceImpl implements WorkTypeService {
    @Autowired
    private WorkTypeMapper workTypeMapper;

    @Transactional(readOnly = true)
    @Override
    public List<WorkType> getWorkTypeList() {
        return workTypeMapper.getWorkTypeList();
    }
}
